<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Env;
use think\facade\Route;

if (!Env::get('app_debug', false)) {
    Route::miss('admin/Error/miss');
}

Route::rule('captcha/[:id]', '\\think\\captcha\\CaptchaController@index'); // 验证码
Route::rule('/', 'admin/Index/index');
Route::rule('Welcome', 'admin/Index/welcome');

Route::rule('Login', 'admin/Base/login');
Route::rule('Logout', 'admin/Base/logout');
Route::rule('DelCache', 'admin/Base/delCache');

return [

];
